<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>js示例4-12-5</title>
	
</head>
<body>
	<h1 id="h1" onclick="changText(h1)">单击此文本！！！</h1>
	<script>
			function changText(id){
				id.innerHTML = "修改后的文本！！！";
			}
	</script>
</body>
</html>